<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; utf-8">
<title>Insert title here</title>
<script type="text/javascript" src="../Public/jq.js"></script>
<script>
function del(id)
{
	$.post('__URL__/operclass/type/del/',
			{'id',id},
			function(data){
				alert(data);
			}
	)	
}

</script>
</head>
<body>
<div style="padding:5px;">
<table width="50%" border="1" rowspace="0" cellspacing="0"><tr><td>标题</td><td width="100">操作</td></tr>

<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><tr><td><?php echo ($vo["classname"]); ?></td><td><input type="button" onclick="del('<?php echo ($vo["id"]); ?>')" value="删除" /><input type="button" onclick="modify('<?php echo ($vo["id"]); ?>')" value="改" /> </td></tr><?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
</table>
</div>
</body>
</html>